package com.cndatacom.teleweb.dao;

import com.cndatacom.teleweb.common.PaginationModel;
import com.cndatacom.teleweb.model.WorkNews;

public interface IWorkNewsDao {
	public WorkNews getWorkNewsById(int workId);
	public PaginationModel getAllWorkNews(int offset, int pageSize);
	public PaginationModel getPublishWorkNews(int offset, int pageSize);
	public WorkNews addWorkNews(WorkNews workNews);
	public boolean delWorkNews(WorkNews workNews);
	public WorkNews updateWorkNews(WorkNews workNews);
	public void addClickCount(WorkNews workNews);
}
